home *** CD-ROM | disk | FTP | other *** search
- Path: nuscc.nus.sg!eng50636
- From: eng50636@leonis.nus.sg (Sun Jian)
- Newsgroups: comp.lang.c++
- Subject: Help With Algorithm
- Date: 5 Apr 1996 11:58:27 GMT
- Organization: National University of Singapore
- Message-ID: <4k31t3$jk7@nuscc.nus.sg>
- NNTP-Posting-Host: eng50636@leonis.nus.sg
- X-Newsreader: TIN [version 1.2 PL2]
-
- Hi,
-
- I have met a problem and was trying to solve it by c++ programming. But
-
- until now I still can't think of a good algorithm to do it. Would you
-
- please give me help if you can?
-
- Here is the problem:
-
- ***************************************************************************
- What is the minimum number of knights requred to control the whole 8x8
- chess board? (the place occupied by a knight is also regard as being
- controlled).
- ***************************************************************************
-
- By using maths, I know the answer is 12. Just want it be done by
-
- computer. Help please!!!
-